package com.face.recognition.service;

import com.arcsoft.face.FaceInfo;
import com.face.recognition.domain.*;

import java.io.File;
import java.util.List;

public interface FaceRecognitionService {

    public List<UserFaceInfo> getAllFace();

    public UserFaceInfo getFace(String id);

    public void saveFace(UserFaceInfo userFaceInfo);

    public UserFaceFeature getFaceFeature(File faceImage);

    public UserFaceCompare compareFace(byte[] face1, byte[] face2);

    public FaceRecognitionResponse register(File registerImage, String id);

    public FaceRecognitionResponse signIn(File signInImage);

}
